﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$m['username']}的问问</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta content="打分交友,约会交友,同城交友,北京交友,上海交友,位置交友,简单交友,简简单单,在线交友,聊天交友,交友" name="keywords" />
<meta content="打分，聊天，约会！简简单单，打分交友，一个给你打分，并帮你结识新朋友的网站。 会员之间通过互相之间的照片打分，建立第一印象，轻松进行约会交友，同城交友！" name="description" />
<link href="{$urlstatic2}/css/head_global_main_ask.css{$urltail}" rel="stylesheet" type="text/css" />
<script language="javascript" src="{$urlstatic2}/js/global_jquery_hello_dialog_chat.js{$urltail}"></script>

<script language="javascript" src="{$urlstatic2}/js/provinces_zh-CN.js?gv=165_1"></script>
<script language="javascript" src="{$urlstatic2}/js/photo_group.js?gv=165_1"></script>
<link href="{$urlstatic2}/css/personal.css?gv=179_1" rel="stylesheet" type="text/css" />
</head>
<body>
<include file="Public:home_head" />
<div class="container_cwrap clear">
  <div class="fm_l_270" style="_width:270px;">
    <div class="newotherperson_head">
      <!--<p class="per_text"></p>-->
      <p class="per_img"><a href="{$urlsite}/home/photo?uid={$m['uid']}&gid=0"><img src="{$urlupload}/{$m['default_pic']}_240x240.jpg" title="点击查看大图" class="face_s{$m['sex']}_b2" /></a></p>
    </div>
    <!--我想开始-->
    <div class="newotherperson_photolist">
      <p class="clear"><span class="fl"> <a class="f_3" href="{$urlsite}/home/photo?uid={$m['uid']}&gid=0">{$m['sex']|ui_sex}的个人形象照</a> </span> </p>
      <ul class="clear">
        <volist name="personal" id="p">
          <li><a href="{$urlsite}/home/photo?uid={$m['uid']}&gid={$p['gid']}&pid={$p['pid']}"><img class="face_s{$m['sex']}_b2" title="点击查看大图" src="{$urlupload}/{$p['path']}_999x80.jpg"></a></li>
        </volist>
      </ul>
    </div>
    <div class="newotherperson_photolist">
      <p class="clear bottom_line"> <span class="fl"><a class="f_3" href="{$urlsite}/home/show_group?uid={$m['uid']}">{$m['sex']|ui_sex}的其它相册</a></span> </p>
      <div class="allphoto clear m_t20">
        <volist name="pglist" id="g">
          <dl>
            <dt class="curreny">
              <div class="photo_m"><a onclick="load_photo_group({$m['uid']}, {$g['gid']})"><img src="{$urlupload}/{$g['default_pic']}_120x120.jpg" alt="照片" ></a></div>
            </dt>
            <dd class="m_t10 fs_14">{$g['name']}</dd>
            <dd class="f_6">共<span class="f_r1 fs_14">5</span>张</dd>
          </dl>
        </volist>
      </div>
    </div>
    <p class="p_list"><a class="f_6" href="javascript:;" onclick="perfect_invite(62906276, 1)">邀请{$m['sex']|ui_sex}上传更多照片</a></p>
  </div>
  <!--我想结束-->
  <!--个人的基本资料开始-->
<!--右半模块结束 start-->
<div class="fm_c_680">
  <div class="newotherperson_main">
    <p class="f_6 fs_16"> <a class="w"  href="{$urldomain}/{$m['uid']}" >{$m['username']}</a> 的问问</p>
  </div>
  <div class="home_diary">
    <div class="diary_updn"><a class="turn" href="{$urlsite}/home/question/?uid={$m['uid']}&qid={$prev_qid}&nofilter=1" title="上一页">&lt;&lt;上个问问</a><a class="turn" href="{$urlsite}/home/question/?uid={$m['uid']}&qid={$next_qid}&nofilter=1" title="下一页">下个问问&gt;&gt;</a></div>
    <div class="ask_answer">
      <div class="question_list clear">
        <p class="fs_14 word_break"><a target="_blank"  href="{$urldomain}/{$m['uid']}"  class="f_bl word_nowrap">{$m['username']}</a> <span class="f_9 word_nowrap">{$qtlist[$list['type']]}</span> {$list.question} </p>
        <notempty name="list['photo_url']"><div class="no_photo"><img src="{$urlupload}/{$list.photo_url}_480x480.jpg"/></div></notempty>
        <p class="m_t20 botinfo clear"> <span class="agree">{$agree}%</span> <span class="opposition">{$against}%</span> <a id="all_reply_76" class="current"  href="{$urlsite}/home/question/?uid={$list['uid']}&qid={$list['id']}&nofilter=1"> 回答总数(({$list["answer_count"]})</a> <a id="comment_reply_76"  href="{$urlsite}/home/question/?uid={$list['uid']}&qid={$list['id']}">有内容回答({$list["answer_cont_num"]})</a> </p>
        <div class="my_reply">
          <div id="topbg_id" class="topbg2"></div>
          <div class="box clear">
            <dl id="answer_{$list['id']}" a_limit="2" a_filter='2' answer_news="79" last_answer="0">
			
			  <volist name="alist" id="d">
              <dd id="dl_4374">
                <div class="clear">
                  <div class="text"> <span class="f_bl fl">{$d.username}：</span></span><eq name="d['vote']" value="1"><a class="agree fl"></a><else/><a class="opposition f1"></a></eq>
                    <p class="word_break">{$d.answer_cont}</p>
                  </div>
                  <div class="remark_info fs_12"> <span class="f_9">{$d.answer_time|formatTime}</span> </div>
                </div>
                <div class="border"></div>
              </dd>
			  </volist>
			  	  
            </dl>
          </div>
        </div>
        <span class="time f_9 fs_12">2011-10-22 22:43:50</span> </div>
    </div>
    <div class="diary_updn"><a class="turn" href="{$urlsite}/home/question/?uid={$m['uid']}&qid={$prev_qid}&nofilter=1" title="上一页">&lt;&lt;上个问问</a><a class="turn" href="{$urlsite}/home/question/?uid={$m['uid']}&qid={$next_qid}&nofilter=1" title="下一页">下个问问&gt;&gt;</a></div>
  </div>
</div>
<!--右半模块结束 end-->
</div>
<script>
var limit =1;
var count_answer = 1;
var is_show = 0;
var curr_display = 0;

$(document).ready(function(){
	$('.text_w').click(function(){ $(this).removeClass('text_limit');$(this).find('.simple').hide();$(this).find('.detaill').show(); });
});

back_to_tip();

function scaleImg(id,img)
{
	bid = 'imgbig_'+id;
	sid = 'imgsmall_'+id;
	if(img){
		$('#'+bid).attr('src',img);
		$('#'+bid).show();
		$('#'+sid).hide();
	}else{
		$('#'+bid).hide();
		$('#'+sid).show();
	}
}

function scaleImg2(id,img)
{
	bid = 'imgbig2_'+id;
	sid = 'imgsmall2_'+id;
	if(img){
		$('#'+bid).attr('src',img);
		$('#'+bid).show();
		$('#'+sid).hide();
	}else{
		$('#'+bid).hide();
		$('#'+sid).show();
	}
}

function load_answer_more(id,first_answer,filter)
{
    var a_limit = parseInt($("#answer_"+id).attr('a_limit'));//上次页数
    var a_filter = $("#answer_"+id).attr('a_filter');//上次状态
    var answer_news = parseInt($("#answer_"+id).attr('answer_news'));
    var last_answer = 0;

    if(count_answer==1 &&　filter == 2){
        a_limit = 2;
    }
    if(filter == 2){
        count_answer++;
    }
    if(filter == 2){
        filter = a_filter;
        last_answer = parseInt($("#answer_"+id).attr('last_answer'));
    }

    if(first_answer == 0)
    {
        if(a_limit > 0)
        {
            if(a_filter == filter)
            {
                return false;
            }else if(a_filter != filter)
            {
                if(filter == 0)
                {
                    $("#topbg_id").attr('class', 'topbg3');
                }else{
                    $("#topbg_id").attr('class', 'topbg2');
                }
                $("#answer_"+id).html('');
                $("#answer_"+id).attr('a_filter', filter);
                a_limit = 1;
                $("#load_more_answer_"+id).show();
                $("#new_answer_"+id).hide();
                if(answer_news > 0)
                {
                    $("#answer_"+id).attr('answer_news', 0);
                }
            }
        }
    }
    $.ajax({
        type: "POST",
        url: "/answer/load_more_home_answer/",
        data: 'limit='+a_limit+'&question_id='+id+'&question_uid=92369262&filter='+filter+'&first_answer='+first_answer+'&answer_news='+answer_news+'&last_answer='+last_answer,
        success: function(re){ 
            var obj = jQuery.parseJSON(re);
            if(obj.errno == 200) {
                $("#answer_"+id).append(obj.more);
                a_limit = a_limit+1;
                $("#answer_"+id).attr('a_limit', a_limit);
               
            }else{
                Win.dialog({'msg':obj.msg,'type':'info'});
            }
            if(obj.hide_more == 1) {
                $("#load_more_answer_"+id).hide();
            }
            if(obj.last_answer > 0) {
                $("#answer_"+id).attr('last_answer', obj.last_answer);
            }
            if(obj.answer_news >0){
                minus_unread('answer', obj.answer_news, 0);
            }
        }
    });
}

function perfect_invite(uid, type) {
	if(check_login()==false) {
		return false;
	}
	$.post('/home/perfect', {uid:uid, type:type}, function(data) {
		alert(data.msg);
	},'json');
}

var current_or_uid=0;

$(document).bind("click",function(e){
	if($.browser.msie) {
		var el = event.srcElement;
	}
	else {
		var el = e.target;
	}
	 if(!(IM.fInObj(el, "or_bg clear"))) {
		$(".m_dw").hide();
	}
	if(!(IM.fInObj(el, "add_collet clear"))){
		$(".add_collet_down").hide();
	}
});

$(document).ready(function() {
	if(Cookies.get("locat_pay_card_58636465") == 1 && Cookies.get("locat_pay_uid") == "92369262" && Cookies.get("locat_is_pay_58636465") == 1 && myuserinfo.card_num > 30) {
		show_mask_info(2,'92369262');
	}
	Cookies.clear("locat_pay_card_58636465");
	Cookies.clear("locat_pay_uid");
	Cookies.clear("locat_is_pay_58636465");
    $("#gift_html_close").click(function (){
       $("#show_gift_html").remove();
    });
});

//返回顶部
function back_to_tip()
{
	var $backToTopTxt = '<a class="b_img" ></a>', $backToTopEle = $('<div class="back2top_fat"></div>').appendTo($("body"))
	.html($backToTopTxt).attr("title", '返回顶部').click(function() {
	$("html, body").animate({ scrollTop: 0 }, 120);
	}), $backToTopFun = function() {
	var st = $(document).scrollTop(), winh = $(window).height();
	(st > 0)? $backToTopEle.show(): $backToTopEle.hide();
	//IE6下的定位
	if (!window.XMLHttpRequest) {
	$backToTopEle.css("top", st + winh - 166);
	}
	};
	$(window).bind("scroll", $backToTopFun);
	$(function() { $backToTopFun(); });
}

function show_or(uid,type)
{
	if(type==0){
		if(current_or_uid>0)
		{
			$("#or_"+current_or_uid).hide();
		}
		$("#or_"+uid).show();
		current_or_uid = uid;
	}
	if(type==1){
		if(current_or_uid>0)
		{
			$("#co_"+current_or_uid).hide();
		}
		$("#co_"+uid).show();
		current_or_uid = uid;
	}
}

function profile_completed(profile_completed_value){
	if(check_login()==false)
	{
		return false;
	}
	var msg_code = sysmessage_addprofile('profile',1) ;
	Win.dialog({width:460,msg:msg_code});
	return true;
}

function check_login(){
	return true;
}
</script>
<include file="Public:foot" />
</div>
</body>
</html>